<template>
	<view class="delivery_details">
		<view class="delivery_top">
			商品详情
		</view>
		<view class="delivery_con">
			物流信息
		</view>
	</view>
</template>

<script>
	import { 
		getDetails
	} from '../../../../api/sellOrder.js'
	export default {
		data() {
			return {
				orderId:''
			};
		},
		onLoad(options) { 
			this.orderId = options.id
		},
		onShow() {
			this.getDetails()
		},
		methods:{
			// 获取订单详情
			getDetails(){
				getDetails(this.orderId).then(res => {
					console.log(res)
				})
			}
		}
	}
</script>

<style lang="less">
.delivery_details{
	padding: 10rpx;
	 height: 100vh;
	background-color: #fff;
	.delivery_top{
		height: 200rpx;
		border-bottom: 6rpx solid #f5f5f5;
		background-color: pink;
	}
	.delivery_con{
		padding: 20rpx 0;
		height: 1000rpx;
	}
}
</style>
